﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Entetities;
using BLL;

public partial class UC_hangsx : System.Web.UI.UserControl
{
    private DataTable _dtb;
    public int cateID { get; set; }
    public int kt { get; set; }


    public delegate void nhasanxuat(int mansx);
    // Event declaration 
    public event nhasanxuat nsxHandler;


    public DataTable Datasource
    {
        get
        {
            return _dtb;
        }
        set
        {
            _dtb = value;
        }
    }
    public UC_hangsx()
    {
        _dtb = new DataTable();
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        DataList1.DataSource = Datasource;
        DataList1.DataBind();
    }
    protected void lbthuychon_Click(object sender, EventArgs e)
    {
        kt = 1;
    }

    protected void ImageButton1_Command(object sender, CommandEventArgs e)
    {
    }
}